import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { EmployeeComponent } from './employee.component'
import { AddemployeeComponent } from './addemployee/addemployee.component'
const routes: Routes = [
  {
    path: '', component: EmployeeComponent,
  },
  { path: 'addemployeeList', component: AddemployeeComponent },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class EmployeeRoutingModule { }
